package com.ycxy.entity;


import java.util.Date;

/**
* 
* @TableName user
*/
public class User {

    /**
    * 用户ID
    */

    private Integer id;
    /**
    * 用户名
    */

    private String username;
    /**
    * 密码（实际项目需加密存储）
    */

    private String password;
    /**
    * 电子邮箱
    */

    private String email;
    /**
    * 创建时间
    */

    private Date createTime;
    /**
    * 更新时间
    */
    private Date updateTime;
    /**
    * 逻辑删除标志（0-未删除，1-已删除）
    */

    private Integer isDeleted;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", isDeleted=" + isDeleted +
                '}';
    }
}
